#!/bin/sh

/bin/echo "Load system modules ...."
/sbin/modprobe ip_tables 1>/dev/null
/sbin/modprobe iptable_filter 1>/dev/null
/sbin/modprobe ip_conntrack 1>/dev/null
/sbin/modprobe iptable_nat 1>/dev/null
/sbin/modprobe ipt_REDIRECT 1>/dev/null
/sbin/modprobe ip_conntrack_ftp 1>/dev/null
/sbin/modprobe ipt_state 1>/dev/null
/sbin/modprobe ipt_limit 1>/dev/null
/sbin/modprobe ipt_iprange 1>/dev/null
/sbin/modprobe ipt_physdev 1>/dev/null
/sbin/modprobe ipt_LOG 1>/dev/null

/sbin/insmod /lib/modules/2.6.20.7/kernel/net/netfilter/xt_tcpudp.ko 1>/dev/null
/sbin/insmod /lib/modules/2.6.20.7/kernel/net/netfilter/xt_multiport.ko 1>/dev/null
/sbin/insmod /lib/modules/2.6.20.7/kernel/net/netfilter/xt_layer7.ko 1>/dev/null
/sbin/insmod /lib/modules/2.6.20.7/kernel/net/netfilter/xt_string.ko 1>/dev/null
/sbin/insmod /usr/lib/modules/2.6.20.7/kernel/lib/ts_bm.ko # For iptables string module.
#/sbin/insmod /usr/lib/modules/2.6.20.7/kernel/lib/ts_kmp.ko # For iptables string module.

/sbin/insmod /usr/lib/modules/2.6.20.7/kernel/net/ipv4/netfilter/iptable_raw.ko 1>/dev/null
/sbin/insmod /lib/modules/2.6.20.7/kernel/net/ipv4/netfilter/iptable_mangle.ko 1>/dev/null
/sbin/insmod /lib/modules/2.6.20.7/kernel/net/netfilter/xt_MARK.ko 1>/dev/null
